package com.starbaba.core.web.page;

import java.util.List;

public class PageResponse<T> {
	private int sEcho;
	private int iTotalRecords;
	private int iTotalDisplayRecords;
	private List<Object> aaData;
	private T object;
	public T getObject() {
		return object;
	}
	public void setObject(T object) {
		this.object = object;
	}
	private int start;
	private int length;
	
	
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public int getLength() {
		return length;
	}
	public void setLength(int length) {
		this.length = length;
	}
	public PageResponse() {
		super();
	}
	public PageResponse(int echo, int totalRecords, int totalDisplayRecords,
			List<Object> aaData) {
		super();
		sEcho = echo;
		iTotalRecords = totalRecords;
		iTotalDisplayRecords = totalDisplayRecords;
		this.aaData = aaData;
	}
	public int getSEcho() {
		return sEcho;
	}
	public void setSEcho(int echo) {
		sEcho = echo;
	}
	public int getITotalRecords() {
		return iTotalRecords;
	}
	public void setITotalRecords(int totalRecords) {
		iTotalRecords = totalRecords;
	}
	public int getITotalDisplayRecords() {
		return iTotalDisplayRecords;
	}
	public void setITotalDisplayRecords(int totalDisplayRecords) {
		iTotalDisplayRecords = totalDisplayRecords;
	}
	public List<Object> getAaData() {
		return aaData;
	}
	public void setAaData(List<Object> aaData) {
		this.aaData = aaData;
	}
}
